const BaseController = require("../library/base-controller");
const GameMapper = require("../database/mapper/game")
const {crud} = require("../library/crud")

// ee在注册路由时，没有遍历父类方法，所以这里不能把crud写在BaseController
class GameController extends BaseController{
    init() {
        this.mapper = new GameMapper()
    }
}

crud(GameController)

module.exports = GameController
